package com.glodon.paas.document.dao;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import com.glodon.paas.document.dao.domain.InvitationEntity;

/**
 * @author admin
 */
public interface InvitationDao extends DBDao<InvitationEntity, String> {

    static Logger logger = LoggerFactory.getLogger(InvitationDao.class);

    InvitationEntity getInvitation(String email, String token);
    int updateInvitationStatus(String email, String token);
    int setInvitaionInvalid(String id);

}
